﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BUS;
namespace EC21_EDiamond.Admin
{
    public partial class XemChiTietDonHang : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string madh = Request.QueryString["MADH"].ToString();
                LoadDanhSachChiTiet(madh);
            }
        }
        void LoadDanhSachChiTiet(string madh)
        {
            grwDanhSachChiTiet.DataSource = ChiTietDonHangBUS.LoadDanhSachChiTietTheoMaDH(madh);
            grwDanhSachChiTiet.DataBind();
        }
    }
}